package com.hunan.chinamobile.service;

import com.hunan.chinamobile.core.Service;
import com.hunan.chinamobile.dto.ExceptionCount;
import com.hunan.chinamobile.dto.ExceptionDTO;
import com.hunan.chinamobile.model.Exceptions;

import java.util.List;

public interface ExceptionService extends Service<Exceptions>{

    List<ExceptionDTO> findList(String cityId,String bsId,Integer type,Integer state);

    List<ExceptionDTO> findByQuery(String startTimeStr,String endTimeStr);

    List<ExceptionDTO> findByNotQuery(String dns,String startTimeStr);

    int countByCurrYear(String cityId);

    ExceptionCount countByCurrMonth(String cityId);

    ExceptionCount countByUntreated(String cityId);
}
